<admintpl file="headerEx"/>
<title>{:L('TABLE_MODEL_LISTS')}</title>
<!--responsive table-->
<link href="__PUBLIC__/TciocEx/css/table-responsive.css" rel="stylesheet"/>
<!--ios7-->
<link rel="stylesheet" type="text/css" href="__PUBLIC__/TciocEx/js/ios-switch/switchery.css" />

<!--icheck-->
<link href="__PUBLIC__/TciocEx/js/iCheck/skins/minimal/minimal.css" rel="stylesheet">
<link href="__PUBLIC__/TciocEx/js/iCheck/skins/minimal/red.css" rel="stylesheet">
<link href="__PUBLIC__/TciocEx/js/iCheck/skins/minimal/green.css" rel="stylesheet">
</head>
<body class="sticky-header">
<section>
    <!-- main content start-->
    <div class="full-content">
        <!-- body wrapper start -->
        <div class="wrapper">
            <div class="row">
                <div class="col-sm-12">
                    <section class="panel">
                        <header class="panel-heading custom-tab turquoise-tab">
                            <ul class="nav nav-tabs">
                                <li>
                                    <a href="{:leuu('Admin/Model/index')}">
                                        <i class="fa fa-bars"></i> {:L("TABLE_MODEL_LISTS")}
                                    </a>
                                </li>
                                <li class="active">
                                    <a href="{:leuu('Admin/Model/add')}">
                                        <i class="fa fa-plus"></i> {:L("TABLE_MODEL_ADD")}
                                    </a>
                                </li>
                            </ul>
                        </header>
                        <div class="panel-body">

                            <div class=" form">
                                <form class="cmxform form-horizontal adminex-form" id="commentForm" method="post" action="{:U('Admin/Model/add')}" novalidate="novalidate">
                                    <div class="form-group ">
                                        <label for="cname" class="control-label col-lg-2">{:L('TABLE_MODEL_NAME')}(*)</label>
                                        <div class="col-lg-10">
                                            <input class=" form-control" id="cname" name="title" minlength="1" type="text" placeholder="{:L('TABLE_MODEL_TITLE_PLACEHOLDER')}" required="">
                                        </div>
                                    </div>
                                    <div class="form-group ">
                                        <label for="cemail" class="control-label col-lg-2">{:L('TABLE_MODEL_TABLE_NAME')}(*)</label>
                                        <div class="col-lg-10">
                                            <input class="form-control " id="cemail" type="text" minlength="3" placeholder="{:L('TABLE_MODEL_TABLE_NAME_PLACEHOLDER')}" name="table_name" required="">
                                        </div>
                                    </div>
                                    <div class="form-group ">
                                        <label for="curl" class="control-label col-lg-2">{:L('TABLE_MODEL_EXTEND_NAME')}(*)</label>
                                        <div class="col-lg-10">
                                            <input class="form-control " id="curl" minlength="3" placeholder="{:L('TABLE_MODEL_EXTEND_NAME_PLACEHOLDER')}" required type="text" name="name">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label for="cextend_name" class="control-label col-lg-2">{:L('TABLE_MODEL_IS_EXTEND')}(*)</label>
                                        <div>
                                           &nbsp;关闭 <input type="checkbox" id="cextend_name" name="is_extend" class="js-switch" checked=checked data-switchery="true" style="display: none;"> 开启
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label for="cstatus" class="control-label col-lg-2">{:L('TABLE_MODEL_STATUS')}(*)</label>
                                        <div>
                                            &nbsp;关闭 <input type="checkbox" class="js-switch" checked=checked id="cstatus" name="status" data-switchery="true" style="display: none;"> 开启
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label for="clist_type" class="control-label col-lg-2">{:L('TABLE_MODEL_LIST_TYPE')}(*)</label>
                                        <div>
                                           &nbsp; <select name="list_type" id="clist_type" style="height:30px;">
                                                <option value="0">普通</option>
                                                <option value="1">树形</option>
                                            </select>

                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <div class="col-md-12 text-center clearfix">
                                            <button class="btn btn-primary" type="submit">保存</button>
                                            <a href="javascript:history.back(-1);" class="btn btn-default">返回</a>
                                        </div>
                                    </div>
                                </form>
                            </div>

                        </div>
                    </section>
                </div>
            </div>
        </div>
        <!--footer section start-->
        <footer>
            <admintpl file="copyright"/>
        </footer>
        <!--footer section end-->
    </div>
    <!-- main content end-->
</section>

<script src="__PUBLIC__/TciocEx/js/jquery-1.10.2.min.js"></script>

<script src="__PUBLIC__/js/wind.js"></script>
<script src="__PUBLIC__/js/common.js"></script>
<script src="__PUBLIC__/TciocEx/js/jquery-ui-1.9.2.custom.min.js"></script>
<script src="__PUBLIC__/simpleboot/bootstrap/js/bootstrap.min.js"></script>
<script src="__PUBLIC__/TciocEx/js/jquery-migrate-1.2.1.min.js"></script>
<script src="__PUBLIC__/TciocEx/js/bootstrap.min.js"></script>
<script src="__PUBLIC__/TciocEx/js/modernizr.min.js"></script>
<script src="__PUBLIC__/TciocEx/js/jquery.nicescroll.js"></script>
<script src="__PUBLIC__/js/ajaxForm.js"></script>
<script src="__PUBLIC__/js/select2/select2.full.min.js"></script>

<!--ios7-->
<script src="__PUBLIC__/TciocEx/js/ios-switch/switchery.js" ></script>
<script src="__PUBLIC__/TciocEx/js/ios-switch/ios-init.js" ></script>

<!--icheck -->
<script src="__PUBLIC__/TciocEx/js/iCheck/jquery.icheck.js"></script>
<script src="__PUBLIC__/TciocEx/js/icheck-init.js"></script>
<!--common scripts for all pages-->


<script type="text/javascript" src="__PUBLIC__/TciocEx/js/jquery.validate.min.js"></script>
<script src="__PUBLIC__/TciocEx/js/validation-localization/messages_zh.min.js"></script>
<script src="__PUBLIC__/TciocEx/js/scripts.js"></script>
<script src="__PUBLIC__/TciocEx/js/validation-init.js"></script>



<!--<script src="__PUBLIC__/TciocEx/js/jquery-1.10.2.min.js"></script>-->
<!--<script src="__PUBLIC__/TciocEx/js/jquery-ui-1.9.2.custom.min.js"></script>-->
<!--<script src="__PUBLIC__/TciocEx/js/jquery-migrate-1.2.1.min.js"></script>-->
<!--<script src="__PUBLIC__/TciocEx/js/bootstrap.min.js"></script>-->
<!--<script src="__PUBLIC__/TciocEx/js/modernizr.min.js"></script>-->
<!--<script src="__PUBLIC__/TciocEx/js/jquery.nicescroll.js"></script>-->

<!--&lt;!&ndash;ios7&ndash;&gt;-->
<!--<script src="__PUBLIC__/TciocEx/js/ios-switch/switchery.js" ></script>-->
<!--<script src="__PUBLIC__/TciocEx/js/ios-switch/ios-init.js" ></script>-->

<!--&lt;!&ndash;icheck &ndash;&gt;-->
<!--<script src="__PUBLIC__/TciocEx/js/iCheck/jquery.icheck.js"></script>-->
<!--<script src="__PUBLIC__/TciocEx/js/icheck-init.js"></script>-->
<!--&lt;!&ndash;common scripts for all pages&ndash;&gt;-->

<!--<script type="text/javascript" src="__PUBLIC__/TciocEx/js/jquery.validate.min.js"></script>-->
<!--<script src="__PUBLIC__/TciocEx/js/validation-localization/messages_zh.min.js"></script>-->
<!--<script src="__PUBLIC__/TciocEx/js/validation-init.js"></script>-->
<!--<script src="__PUBLIC__/TciocEx/js/scripts.js"></script>-->

</body>
</html>